package com.jiangyao.model.dto.backend;

import com.jiangyao.model.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 试题题目删除DTO
 *
 * @author: yangyongchuan
 * @create: 2020年08月21日 16:14
 */
@ApiModel(value = "试题题目删除DTO")
@Data
public class QuestionItemDelDTO implements BaseDTO {

	private static final long serialVersionUID = -966741007595761535L;
	/**
	 * 试题ID
	 */
	@ApiModelProperty("试题ID")
	@NotNull(message = "试题ID不能为空", groups = {Delete.class})
	private Integer questionId;

	/**
	 * 题目ID集合
	 */
	@ApiModelProperty("题目ID集合")
	private List<Integer> detailIdList;

}
